home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 22
/
Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso
/
Aminet
/
util
/
sys
/
Make060.lha
/
Make060
/
Make060.s
< prev
next >
Wrap
Text File
|
1997-09-03
|
2KB
|
48 lines
*********************************************************************************************************
* *
* Make060 assembler version v1.1 *
* *
* Author: Tim Jacobs, original C source by Andreas Kleinert *
* *
* This code was produced for Faeries Geneses. *
* *
*********************************************************************************************************
* *
* I just downloaded Make060 from the Aminet and had a quick look at it. Nothing unusual, until *
* I noticed the filesize of the program. I looked at the C-source and discovered that this could *
* be done about 5-6 times smaller in assembler! So here it is :) *
* *
*********************************************************************************************************
include exec/exec_lib.i
include exec/execbase.i
; If you still have an old version of the execbase.i (without the 060 definition, I changed it
; manually ;).. Then add the following line after the 68040 definition:
;
; BITDEF AF,68060,7 ; Set if 68060
;
; And you should have no problems assembling this with any Devpac version...
*********************************************************************************************************
include misc/easystart.i
; This is an included source that handles all WBStartup and Workbench messages...
*********************************************************************************************************
main:
bra .go
dc.b '$VER: Make060a v1.1 (02-Sep-1997)',0
.go:
CALLEXEC Forbid
move.w #1,d0
lsl.w #AFB_68060,d0
or.w d0,AttnFlags(a6)
CALLEXEC Permit
rts